<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div th:replace="~{publicStyle/header :: header}"></div>
	<h3 th:text="${commoditymodel.title}"></h3>
	<div>
		<p><strong>商品id</strong><span th:text="${commoditymodel.commodity.id}"></span></p>
		<p><strong>商品名称</strong><span th:text="${commoditymodel.commodity.name}"></span></p>
		<p><strong>价格</strong><span th:text="${commoditymodel.commodity.price}"></span></p>
		<p><strong>库存</strong><span th:text="${commoditymodel.commodity.inventory}"></span></p>
		<p><strong>描述</strong><span th:text="${commoditymodel.commodity.describe}"></span></p>
		<p><strong>修改时间</strong><span th:text="${commoditymodel.commodity.times}"></span></p>
	</div>
	
	<div>
		<a th:href="@{'Hello/delete/'+${commoditymodel.commodity.id}}">删除</a>
		<a th:href="@{'Hello/modify/'+${commoditymodel.commodity.id}}">修改</a>
	</div>
	
	<div th:replace="~{publicStyle/footer :: footer}"></div>
</body>
</html>